
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.Iterator"%>
<%@page import="eBrain.beans.*" %>

  <jsp:useBean id="dataManager" scope="application"
  class="eBrain.model.DataManager"/>
<% String base = (String)application.getAttribute("base"); 
	if(session.getAttribute("sales")!=null){%>
	<div class="menu">
	 <h3 class="headerbar"> Sales </h3>
	 
<% 
	Sales sales  = (Sales)session.getAttribute("sales");
	out.println(sales.getHTMLul());
//	out.println("Running; "+sales.getCountRunnig() );	
//	out.println("Finished: "+sales.getCountFinished() );
//	out.println("Fees: "+sales.getFees() );
//	out.println("Sales: "+sales.getSales() );
//	out.println("Sales finished: "+sales.getFinishedSales() );
//	out.println("Sales runnig: "+sales.getRunnigSales() );
	}
	else{
		out.println(request.getAttribute("salesmsg"));
	}
  %>

    </div>